package com.bluse.DesignModel.FactoryFunctionDesignModel;

/**
 * @Describe: TODO
 * @Author: bluse
 * @Date: 2019/2/21 15:41
 **/

public class Application<T> {


    public static  void  main (String [] args){

        LogFactory factory = new FileLogFactory();
        factory.writeLog();

        LogFactory  factory1 = new DataBaseFactory();
        factory1.writeLog();

    }

}
